import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import 'normalize.css'
import '@/style/card.less'
import '@/style/common.less'
import 'hover.css/css/hover-min.css'
import { trackRouter } from "vue-gtag-next";
import { createPinia } from 'pinia'

const pinia = createPinia()

import VueGtag from "vue-gtag-next";

// 引入评论组件库
const app = createApp(App)
app.use(router)
app.use(VueGtag, {
  property: {
    id: "G-F0DJ2CR9N2"
  }
});
app.use(pinia)
trackRouter(router)
const meta = document.createElement('meta')
meta.name = 'naive-ui-style'
document.head.appendChild(meta)

app.mount('#app')
